package me.kennylee.mobile.sms.code;

/**
 * <p> 短信发送工厂类 </p>
 * <p>Created on 31/1/2018.</p>
 *
 * @author kennylee
 */
public class SmsFactory {

    public static SmsSender of(SmsApiType type, String apiKey, String apiSecret) {
        SmsSender smsSender = null;
        switch (type) {
            case ALIDAYU:
                smsSender = AlidayuSmsSender.of(apiKey, apiSecret);
            default:
                break;
        }
        return smsSender;
    }
}
